package com.zxq.uart.controller;


import com.zxq.uart.frame.decoder._34QueryMachineResult;
import com.zxq.uart.frame.encoder._34QueryMachineCmd;
import com.zxq.uart.result.ResultVO;
import com.zxq.uart.service.impl.PlatformExchange;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class _34QueryMachineController extends PlatformExchange<_34QueryMachineCmd, _34QueryMachineResult> {


    @Override
    public Integer getCmd() {
        return 0x34;
    }

    @PostMapping("exchange/34")
    @Override
    public ResultVO<_34QueryMachineResult> exchange(@RequestBody _34QueryMachineCmd order) {
        return super.exchange(order);
    }

    @Override
    public _34QueryMachineResult getResult() {
        return new _34QueryMachineResult();
    }

}
